package org.tom.org.domain;

import lombok.Data;
import org.assertj.core.error.ShouldContainPattern;
import org.tom.basic.domain.BaseDomain;
import org.tom.user.domain.Logininfo;

import java.awt.print.PrinterGraphics;

@Data
public class Employee extends BaseDomain {
    private String username;
    private String email;
    private String phone;
    private String salt;
    private String password;
    private Integer age;
    private Integer state = 1;
    private Long department_id;
    private Department department; // 用对象接收
    private Long logininfo_id;
    private Logininfo logininfo;
    private Long shop_id;
    private Shop shop; // 用对象接收
    private String comfirmPassword; // 用来校验重复密码
}
